package com.bjpowernode.services;

import com.bjpowernode.beans.Activity;
import com.bjpowernode.dto.ResultPageDTO;

import javax.servlet.http.HttpSession;
import java.util.ArrayList;

public interface ActivityServices {

    ArrayList<Activity> getAll(ResultPageDTO resultPageDTO);
    Activity get(String id);

    Activity getEditBefore(String id);

    boolean add(Activity activity);

    boolean del(String[] ids);

    boolean edit(Activity activity);
}
